package com.baseweb.webadmin.core.model.dao;


import com.baseweb.webadmin.core.model.pojo.Role;

import java.util.List;

public interface RoleDao {

    public Role selectRoleByUserId(String userid);

    public List<Role> selectRoleListByUser(String userId);

    public List<Role> selectRoles();

    public Role selectRoleByName(Role role);

    public List<Role> selectRolesByUser(Integer id);
}
